// samsting : this file is auto create.

#include "Cdn/2014-11-11/DescribeCdnDomainBaseDetailResponse.h"

namespace aliyun { namespace Cdn {

DescribeCdnDomainBaseDetailResponse::DescribeCdnDomainBaseDetailResponse() {
}

const std::vector<Source>& DescribeCdnDomainBaseDetailResponse::DomainBaseDetailModel::GetSources(void) const {
  return Sources_;
}

const string& DescribeCdnDomainBaseDetailResponse::DomainBaseDetailModel::GetCname(void) const {
  return Cname_;
}

const string& DescribeCdnDomainBaseDetailResponse::DomainBaseDetailModel::GetCdnType(void) const {
  return CdnType_;
}

const string& DescribeCdnDomainBaseDetailResponse::DomainBaseDetailModel::GetDomainStatus(void) const {
  return DomainStatus_;
}

const string& DescribeCdnDomainBaseDetailResponse::DomainBaseDetailModel::GetSourceType(void) const {
  return SourceType_;
}

const string& DescribeCdnDomainBaseDetailResponse::DomainBaseDetailModel::GetDomainName(void) const {
  return DomainName_;
}

const string& DescribeCdnDomainBaseDetailResponse::DomainBaseDetailModel::GetRemark(void) const {
  return Remark_;
}

const string& DescribeCdnDomainBaseDetailResponse::DomainBaseDetailModel::GetGmtModified(void) const {
  return GmtModified_;
}

const string& DescribeCdnDomainBaseDetailResponse::DomainBaseDetailModel::GetGmtCreated(void) const {
  return GmtCreated_;
}

const DescribeCdnDomainBaseDetailResponse::DomainBaseDetailModel& DescribeCdnDomainBaseDetailResponse::GetDomainBaseDetailModel(void) const {
  return DomainBaseDetailModel_;
}

const char* DescribeCdnDomainBaseDetailResponse::BaseKey(void) {
  return "DescribeCdnDomainBaseDetailResponse";
}

void DescribeCdnDomainBaseDetailResponse::UnmarshallerMap(std::map<string, string>& response_map) {
    int DomainBaseDetailModel__Sources__length = 0;
    UnmarshallerInt(DomainBaseDetailModel__Sources__length, response_map, "DescribeCdnDomainBaseDetailResponse.DomainBaseDetailModel.Sources.Length");
    if(DomainBaseDetailModel__Sources__length >= 0) {
      DomainBaseDetailModel_.Sources_.resize(DomainBaseDetailModel__Sources__length);
      for(int i2 = 0; i2 < DomainBaseDetailModel__Sources__length; i2++) {
        UnmarshallerString(DomainBaseDetailModel_.Sources_[i2], response_map, "DescribeCdnDomainBaseDetailResponse.DomainBaseDetailModel.Sources["+string_ValueOfInt(i2)+"]");
      } // for(int i2 = 0; i2 < DomainBaseDetailModel__Sources__length; i2++) {
    } // if(DomainBaseDetailModel__Sources__length >= 0) {

    UnmarshallerString(DomainBaseDetailModel_.Cname_, response_map, "DescribeCdnDomainBaseDetailResponse.DomainBaseDetailModel.Cname");
    UnmarshallerString(DomainBaseDetailModel_.CdnType_, response_map, "DescribeCdnDomainBaseDetailResponse.DomainBaseDetailModel.CdnType");
    UnmarshallerString(DomainBaseDetailModel_.DomainStatus_, response_map, "DescribeCdnDomainBaseDetailResponse.DomainBaseDetailModel.DomainStatus");
    UnmarshallerString(DomainBaseDetailModel_.SourceType_, response_map, "DescribeCdnDomainBaseDetailResponse.DomainBaseDetailModel.SourceType");
    UnmarshallerString(DomainBaseDetailModel_.DomainName_, response_map, "DescribeCdnDomainBaseDetailResponse.DomainBaseDetailModel.DomainName");
    UnmarshallerString(DomainBaseDetailModel_.Remark_, response_map, "DescribeCdnDomainBaseDetailResponse.DomainBaseDetailModel.Remark");
    UnmarshallerString(DomainBaseDetailModel_.GmtModified_, response_map, "DescribeCdnDomainBaseDetailResponse.DomainBaseDetailModel.GmtModified");
    UnmarshallerString(DomainBaseDetailModel_.GmtCreated_, response_map, "DescribeCdnDomainBaseDetailResponse.DomainBaseDetailModel.GmtCreated");
}


} } // namespace aliyun { namespace Cdn {

// end of file 
